<template>
  <div class="about-container">
    <div class="about-content">
      <el-card class="about-card">
        <div class="avatar-container">
          <i class="fas fa-apple-alt" style="font-size: 48px; color: #ff6b6b;"></i>
          <h1>凤果子</h1>
        </div>
        
        <div class="info-section">
          <h2>👋 你好呀！</h2>
          <p>我是凤果子，一个热爱编程的开发者。这个小工具是我的个人项目之一，希望能帮助大家更好地写代码。</p>
          
          <h2>🚀 关于这个项目</h2>
          <p>变量命名助手旨在帮助开发者更好地为变量命名，提高代码可读性。如果你觉得这个工具有帮助，欢迎分享给其他开发者！</p>
          
          <h2>🌈 联系我</h2>
          <p>如果你有任何建议或想法，欢迎通过以下方式联系我：</p>
          <ul>
            <li>QQ邮箱: 1916523690@qq.com</li>
          </ul>
        </div>

        <el-button type="primary" @click="$router.push('/')" plain>
          返回首页
        </el-button>
      </el-card>
    </div>
  </div>
</template>

<script>
export default {
  name: 'About'
}
</script>

<style scoped>
.about-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f6f8ff 0%, #e9ecff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about-content {
  max-width: 800px;
  width: 100%;
}

.about-card {
  padding: 40px;
}

.avatar-container {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-container h1 {
  margin-top: 20px;
  color: #333;
  font-size: 28px;
}

.info-section {
  margin-bottom: 30px;
}

.info-section h2 {
  color: #333;
  margin: 25px 0 15px;
  font-size: 20px;
}

.info-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-section ul {
  list-style: none;
  padding: 0;
}

.info-section ul li {
  margin: 10px 0;
}

.info-section a {
  color: #409EFF;
  text-decoration: none;
}

.info-section a:hover {
  text-decoration: underline;
}
</style> 